package com.yourenbang.lingyun.transaction.mapper;

import com.yourenbang.transaction.api.model.vo.score.ScoreUsageVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeScoreAccountUsageMapper {
    List<ScoreUsageVO> selectScoreUsage(@Param("scoreAccountId") Integer scoreAccountId);

    int updateScoreUseStatus(@Param("useStatus") Integer useStatus ,
                             @Param("orderNo") String orderNo);

    int updateScoreUseStatusAndChangeId(@Param("useStatus") Integer useStatus ,@Param("scoreAccountChangePlanId") int scoreAccountChangePlanId,
                             @Param("orderNo") String orderNo);
}